package com.ohs.mapper.before;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ohs.pojo.Address;

import java.util.List;


public interface AddressMapper extends BaseMapper<Address> {
    //添加一条地址信息
    Integer save(Address address);

    /*List<Address> findAllAddressInfo();*/
    int setNoneDefault(Integer userId);
    int setDefault(Integer addId);

    List<Address> selectAllAddressInfo();
}
